package cn.tyoui.sbo;

public class SBOBean {
    private String label;
    private String url;
    private String name;
    private String nameURL;
    private String message;

    public SBOBean(String label, String url, String name, String message) {
        this.label = label.replace(",", "，");
        this.url = url;
        this.name = name.replace(",", "，");
        this.message = message.replace(",", "，");
    }

    public void setLabel(String label) {
        this.label = label.replace(",", "，");
    }


    public void setUrl(String url) {
        this.url = url;
    }

    public void setName(String name) {
        this.name = name.replace(",", "，");
    }

    public void setNameURL(String nameURL) {
        this.nameURL = nameURL;
    }

    public void setMessage(String message) {
        this.message = message.replace(",", "，");
    }

    public String getLabel() {
        return label;
    }

    public String getUrl() {
        return url;
    }

    public String getName() {
        return name;
    }

    public String getNameURL() {
        return nameURL;
    }

    public String getMessage() {
        return message;
    }

    @Override
    public String toString() {
        return label + "," + name + "," + message + "\n";
    }
}
